
import 'package:flutter/services.dart';

class NativeChannel {

  static MethodChannel methodChannel = const MethodChannel("flutter_native");

  // 调用Android原生的方法
  static Future<void> nativeMethod(String method) async {
    await methodChannel.invokeMethod(method);
  }

}